#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QDialog>
#include <QComboBox>
#include <QPushButton>
#include <QLabel>
#include <QFormLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>

#include "util/appevent.h"

namespace Ui {
class SettingDialog;
}

class SettingDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SettingDialog(QWidget *parent = nullptr);
    ~SettingDialog();
    void iniMainDialog();
signals:
    void sigSetDarkTheme();
    void sigSetLightTheme();
private slots:
    void on_btnOK_clicked();
    void on_btnApply_clicked();
    void on_btnCancel_clicked();
private:
    QComboBox *comboxTheme;
    QComboBox *comboxLanguage;
    QPushButton *btnOK;
    QPushButton *btnApply;
    QPushButton *btnCancel;
private:
    Ui::SettingDialog *ui;
};

#endif // SETTINGDIALOG_H
